package com.wu.databasedemo.entity;

import com.wu.databasedemo.db.helper.NatrualKey;
import com.wu.databasedemo.db.helper.Table;

@Table(TableName = "product")
public class Product {

	@NatrualKey
	private String no;

	private String name;

	public Product() {
		super();
	}

	public String getNo() {
		return no;
	}

	public void setNo(String no) {
		this.no = no;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "Product [no=" + no + ", name=" + name + "]";
	}

}
